// src\main.ts

import { createApp } from 'vue'
import router from './router'

// import 'vant/es/toast/index.css'
// import 'vant/lib/index.css'

import App from './App.vue'

import 'amfe-flexible'

import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' //引入持久化插件

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

createApp(App).use(pinia).use(router).mount('#app')
